


<?php $this->headLink()->appendStylesheet('/twitterbootstrap/css/bootstrap.min.css')?>
<?php if(count($this->item)):?>
<?php foreach($this->item as $item):?>
<span class="category">Категория: <a href=""><?=$this->escape($item['category_name']);?></a></span>
<p class="title"><a href="<?=$this->url(array('id'=>$item['article_id']),'catalog-display');?>"><?=$item['title'];?></a></p>
<div style="float:left;padding:5px 5px 5px 10px;"><a href="<?=$this->url(array('id'=>$item['article_id']),'catalog-display');?>"><img src="images/articles/<?=$this->escape($item['img']);?>"/></a></div>
<div class="article"><?=$item['description'];?></div><div id="linkbutton"><a href="<?=$this->url(array('id'=>$item['article_id']),'catalog-display');?>">Читать далее&nbsp→</a></div>

<p class="author">aвтор: <?=$this->escape($item['author']);?></p>
<p class="comment">Комментариев: (<?=$this->escape($item['Myblog_Model_Comments']);?>)<span id="views">Просмотров(<?=$this->escape($item['Myblog_Model_Bestweekarticles']['count']);?>)</span></p>
<p class="created_time">Опубликовано: <?=$this->escape($item['created_dt']);?></p>
<hr class="line"/>
<?php endforeach;?>

<div id="pages">
<?=$this->pages;?>
</div>
<?php else:?>
<p>Опубликованных статей нет.</p>
<?php endif;?>

</div>